package cn.vc.communityservice.entity;

import cn.vc.basicmodule.entity.Entity;
import lombok.Data;

/**
 * <h1>社区关注表</h1>
 */
@Data
public class CommunityAttention extends Entity {
    Long communityId;//被关注社区ID
    Long userId;//关注者ID

    public CommunityAttention() {}
    public CommunityAttention(Long communityId, Long userId) {
        this.communityId = communityId;
        this.userId = userId;
    }
}